//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.emin.platform.productCenter.util;

public enum HttpCodeDesc {
    _404(Integer.valueOf(404), "未找到服务"),
    _500(Integer.valueOf(500), "服务处理异常");

    private Integer status;
    private String desc;

    private HttpCodeDesc(Integer status, String desc) {
        this.desc = desc;
        this.status = status;
    }

    public static HttpCodeDesc get(Integer status) {
        HttpCodeDesc[] var1 = values();
        int var2 = var1.length;

        for(int var3 = 0; var3 < var2; ++var3) {
            HttpCodeDesc desc = var1[var3];
            if (desc.getStatus().equals(status)) {
                return desc;
            }
        }

        return null;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
